import 'package:flutter/material.dart';
import 'package:flutter_repo/chapter02/unit04/tip_route.dart';
import 'package:flutter_repo/chapter02/unit04/unit04_new_route.dart';
import 'package:flutter_repo/widgets/cell.dart';

class Unit04 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('第四节'),
      ),
      body: ListView(
        children: const [
          Cell(title: "jump to new route", routePage: Unit04NewRoute(),),
          Cell(title: "jump to test tip route", routePage: TestTipRoute(),),
        ],
      ),
    );
  }
}
